package com.bestom.t9mod;

import com.bestom.t9mod.base.manager.Serial.SerialManager;

public class T9 {
    private static final String TAG = "T9";

    public static void init(){
//        openSerial();
    }

    public static void release(){
        closeSerial();
    }


    /**********************************************************************
     * 打开串口
     */
    public static int openKPA() {
        return SerialManager.getInstance().turnOn("/dev/ttyWCHUSB0");
    }

    /**********************************************************************
     *关闭串口
     */
    private static void closeSerial() {
        SerialManager.getInstance().turnOff();
    }


}
